package io.qar.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "ftp请求文件列表")
public class FtpParamDTO {
    @ApiModelProperty(value = "host")
    @NotNull(message = "host{login.require}")
    private String host;
    @ApiModelProperty(value = "username")
    @NotNull(message = "username{login.require}")
    private String username;
    @ApiModelProperty(value = "password")
    @NotNull(message = "password{login.require}")
    private String password;
    @ApiModelProperty(value = "port")
    @NotNull(message = "port{login.require}")
    private Integer port;
}
